html {
    scroll-behavior: smooth;
}

input {
    outline: none;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

body {
    margin: 0;
}

.header-title {
    font-family: Forum;
    font-size: 30px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0.02em;
    text-align: left;
    color: #FFFFFF;
    padding-left: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
}

.navigation {
    display: flex;
    position: relative;
}

.navigation-block {
    display: flex;
}

.header-content__icon {
    width: 28px;
    padding-right: 5px;
}

.popup {
    display: none;
}

.menu-burger {
    margin: 28px 1px 0px 37px;
    display: none;
}


.menu-burger__line {
    border: 1px solid #FFFFFF;
    width: 43px;
    display: block;
    margin: 7px auto;
    transition-duration: 1s;
}


.menu-burger.active .menu-burger__line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-burger.active .menu-burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-burger.active .menu-burger__line:nth-child(2) {
    opacity: 0;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul,
ul li {
    list-style: none;
    padding-left: 0px;
}

.nav__item {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF;
    margin-right: 30px;
}

.nav__item:hover {
    border-bottom: 1px dotted #FFFFFF;
    transition: 0.3s;
}

.navigation-block {
    padding-top: 6px;
}

.header-content__icon {
    margin-left: 11px;
}

.header {
    background-color: #0C0C0E;
}

.welcome {
    background-color: #0C0C0E;
}

.welcome-container {
    background: linear-gradient(180deg, #0C0C0E 0%, #0C0C0E 0.01%, rgba(18, 18, 21, 0.1) 100%), url(./image/welcome.jpg);
    padding: 192px 0px 130px 0px;
    max-width: 1440px;
    margin: 0 auto;
}

.welcome-title__text {
    font-family: Forum;
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 3px;
    text-align: center;
    color: #FFFFFF;
    padding: 30px 35px;
}

.welcome-title {
    max-width: 600px;
    background: #0C0C0E;
}

.text-welcome__item {
    display: block;
}

.block-title {
    font-family: Forum;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: center;
    color: #0C0C0E;
    margin-top: 0;
    padding-top: 20px;
}

.block-title::after {
    display: block;
    content: '';
    width: 50px;
    margin: 0 auto;
    padding-top: 21px;
    border-bottom: 1px solid #0C0C0E;
}

.about {
    background: #FFFFFF;
}

.about-description {
    padding-top: 7px;
    margin: 0 auto;
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: center;
    color: #000000;
}

.about-content {
    display: flex;
    justify-content: space-between;
    padding: 18px 20px 22px 20px;
}

.about-content__card {
    width: 32%;
}

.about-content .about-content__card {
    -webkit-animation-name: tape;
    -webkit-animation-duration: 1.5s;
    animation-name: tape;
    animation-duration: 1.5s;
}

@-webkit-keyframes tape {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes tape {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.card__photo {
    width: 100%;
}

.about-points {
    width: 130px;
    margin: 0 auto;
    display: flex;
    margin-bottom: 35px;
}

.point-block {
    padding: 5px;
    cursor: pointer;
    padding-top: 15px;

}

.point-block__item {
    width: 16px;
    height: 16px;
    background: #0C0C0E;
    border-radius: 50%;
}

.point-block__active {
    background: #BB945F;
}

.favorites-menu__title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    padding-left: 21px;
}

.favorites-menu {
    padding-top: 6px;

}

.favorites-menu_checkbox {
    display: flex;
    margin: 40px 0px 0px 20px;
    justify-content: space-between;
    max-width: 700px;

}

.checkbox-label {
    display: block;
    width: 70px;
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.checkbox__item {
    accent-color: #000000;
    width: 18px;
    margin: 0px 16px 0px 0px;
    cursor: pointer;
}

.checkbox__item:checked::after {
    visibility: visible;
}

#winter:checked+.checkbox-label,
#spring:checked+.checkbox-label,
#summer:checked+.checkbox-label,
#autumn:checked+.checkbox-label {
    font-weight: 700;
    transition: 0.2s;
}




.card-title {
    font-family: Forum;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    color: #000000;
    letter-spacing: 2px;
    margin: 0px 0px 18px 0px;
}

.card-title::after {
    display: block;
    content: '';
    width: 60px;
    border-bottom: 1px solid #BB945F;
}

.favorites-card__item {
    width: 529px;
    border: 1px solid #000000;
    padding: 14px 0px 15px 20px;
    position: relative;
    margin-bottom: 40px;
}

.favorites-card {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 3px 20px;
}

.card-img {
    position: absolute;
    width: 200px;
    z-index: 1;
    top: 254px;
    left: 390px;
}

.card-description {
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: left;
    width: 357px;
    height: 320px;
    text-transform: capitalize;
}

.card-bookname {
    font-family: Inter;
    font-size: 15px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: left;
    text-transform: uppercase;
    display: block;
}

.card-author {
    font-family: Inter;
    font-size: 15px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: left;
    display: block;
    margin-bottom: 20px;
}

.card-button {
    font-family: Inter;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 1px;
    border: 1px solid #0C0C0E;
    width: 75px;
    padding: 8px 0px;
    background-color: #FFFFFF;
}

.card-button__active {
    font-family: Inter;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 1px;
    color: #BB945F;
    border: 1px solid #BB945F;
    width: 75px;
    padding: 8px 0px;
    background-color: #FFFFFF;
}

.coffee-description {
    font-family: Inter;
    padding: 6px 19px;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: center;
}

.coffee-menu {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px;
}

.menu-block__title {
    font-family: Forum;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: left;
    color: #BB945F;
    margin: 15px 0px 40px 0px;
}

.element-block {
    display: grid;
    grid-template-columns: 232px 138px auto;
    justify-content: space-between;
    width: 440px;
    margin-bottom: 40px;
}

.element-block__title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.element-block__price {
    font-family: Forum;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
}

.element-block__line {
    width: 100px;
    border-top: 1px solid #BB945F;
    margin-top: 18px;
}

.right>h5 {
    text-align: right;
}

.right>.element-block {
    text-align: right;
    width: 480px;
    grid-template-columns: 232px 102px auto;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px 0px 20px;
    margin-bottom: 35px;
}

.adress-title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 40px;
}

.adress-text {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.adress-text__tel {
    color: #000000;
}

.director {
    margin-top: 40px;
}

.director-title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.director-text {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 2px;
    text-transform: capitalize;
}

.director-text_bold {
    font-weight: 700;
    color: #000000;
}

.digital-left__title {
    font-family: Inter;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    display: block;
    letter-spacing: 0.02em;
    padding: 7px 0px 30px 0px;

}

.digital-left {
    width: 600px;
    padding-left: 20px;
}

.digital-left__form {
    border: 3px solid #BB945F;
    padding: 18px 17px 25px 18px;
}

.feedback-input__title {
    font-family: Forum;
    font-size: 30px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0.02em;
    display: block;
    padding-left: 21px;
    padding-top: 20px;
    margin-bottom: 20px;
}

.feedback-input__item {
    width: 500px;
    border-radius: 10px;
    display: block;
    padding: 8px 0px 10px 20px;
    font-family: Forum;
    font-size: 30px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0.02em;
    border: none;
    margin-bottom: 20px;
    margin-left: 20px;
}

.feedback-input {
    background-color: #BB945F;
    width: 560px;
    padding-bottom: 5px;
    margin-bottom: 18px;
}

.feedback-input__btn {
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 1px;
    border: 1px solid #0C0C0E;
    padding: 10px 40px 10px 40px;
    background-color: #FFFFFF;
    display: block;
    margin: 0 auto;

}

.digital-right__title {
    display: block;
    font-family: Forum;
    font-size: 30px;
    font-weight: 400;
    line-height: 33px;
    letter-spacing: 0.02em;
    text-align: right;
    margin-bottom: 35px;
}

.digital-right__text {
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0.02em;
    text-align: right;

}

.digital-content {
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
    padding-bottom: 44px;
}

.digital-right {
    padding-top: 8px;
    width: 34%;
}

.digital-right_btn {
    float: right;
    margin-top: 13px;
}

.digital-btn {
    font-family: Inter;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 1px;
    border: 1px solid #0C0C0E;
    background-color: #FFFFFF;
    width: 75px;
    padding: 8px 0px;
    margin-left: 15px;
}

.feedback-input__btn:hover,
.card-button:hover,
.digital-btn:hover {
    border: 1px solid #BB945F;
    background-color: #BB945F;
    transition: 0.2s;
}

.footer {
    background-color: #000000;
}

.footer-up {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.up-left__adress {
    display: block;
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    color: #FFFFFF;
    width: 229px;
    padding: 20px 0px 0px 20px;
}

.up-left_soc {
    display: flex;
    justify-content: space-between;
    width: 95px;
    padding: 5px 0px 0px 20px;
}

.up-right {
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: right;
    color: #FFFFFF;
    padding: 6px 20px 0px 0px;

}

.weekday {
    display: block;
}

.up-right_weekend {
    margin-top: -5px;
}

.footer-line {
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid #FFFFFF;
}

.footer-down__text {
    display: inline-block;
    color: #FFFFFF;
}

.footer-down__school {
    display: inline-block;
    color: #FFFFFF;
    padding-left: 142px;
}

.footer-down {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    margin-top: 25px;
    font-family: Inter;
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 2px;
    text-align: center;
}

#springcard,
#summercard,
#autumncard {
    display: none;
    transition: 0.5s;
}

#point4,
#point5 {
    display: none;
}

.card-container {
    width: 590px;
}

@media screen and (max-width: 1024px) {
    nav {
        display: none;
    }

    #popup .navigation-block {
        display: block;
    }

    .menu-burger {
        display: block;
    }

    .popup {
        position: fixed;
        top: 68px;
        right: -100%;
        width: 332px;
        background-color: #0C0C0E;
        z-index: 100;
        transition: 0.3s;
        display: block;
        text-align: center;
        padding-bottom: 68px;
    }

    .popup.open {
        right: 0;
    }

    #popup #navigation .navigation-block__item {
        font-size: 20px;
        padding-right: 13px;
        line-height: 80px;

    }

    .welcome-container {
        background-position: right;
    }

    .coffee-menu {
        display: block;
        padding: 1px 20px;
    }

    .right>.element-block {
        width: 485px;
        float: right;
    }

    .right {
        height: 560px;
    }

    .contact-content {
        display: block;
    }

    .contact-right {
        padding: 100px 0px 0px 18px;
    }

    .contact-right__map {
        width: 98%;
    }

    .digital-content {
        display: block;
    }

    .digital-left {
        margin: 0 auto;
    }

    .digital-right {
        padding-top: 25px;
        margin-left: 20px;
    }

    .digital-right__title {
        text-align: center;
        padding-left: 23px;
        margin-top: -3px;
        padding-bottom: 3px;
    }

    .digital-right__text {
        width: 552px;
        margin: 0 auto;
        text-align: center;
    }

    .digital-right_btn {
        width: 184px;
        margin: 0 auto;
        float: none;
        padding-top: 40px;
        margin-bottom: -2px;
    }

    .digital-right {
        width: 90%;
        margin: 0 auto;
    }

    .favorites-card {
        width: 590px;
        margin: 0 auto;
        padding: 38px 0px 0px 0px;
    }


}

.arrow-right {
    padding-top: 291px;
    margin-right: 58px;
    display: none;
}

.arrow-left {
    padding-top: 291px;
    margin-left: 60px;
    display: none;
}

.arrow-back {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.arrow-back::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 1px;
    background-color: #0C0C0E;
    left: 5px;
    bottom: 8px;
    transform: rotate(40deg);
}

.arrow-back::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 1px;
    background-color: #0C0C0E;
    left: 5px;
    bottom: 13px;
    transform: rotate(130deg);
}

.arrow-forward {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.arrow-forward::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 1px;
    background-color: #0C0C0E;
    left: 5px;
    bottom: 8px;
    transform: rotate(140deg);
}

.arrow-forward::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 1px;
    background-color: #0C0C0E;
    left: 5px;
    bottom: 13px;
    transform: rotate(40deg);
}

.checkbox-season {
    display: flex;
}

@media screen and (max-width: 768px) {

    #point4,
    #point5 {
        display: block;
    }

    #card2,
    #card3 {
        display: none;
    }

    .about-content__card {
        width: 450px;
        margin: 0 auto;
        display: flex;
    }

    .about-description {
        padding: 7px 20px 2px 20px;
    }

    .about-content {
        padding-bottom: 8px;
    }

    .arrow-right {
        display: block;
    }

    .arrow-left {
        display: block;
    }

    .favorites-menu {
        padding-right: 50px;
    }

    .coffee-description {
        padding: 6px 17px;
    }

    .footer-down__school {
        padding-left: 100px;
    }

    .arrow-right {
        display: block;
    }

    .arrow-left {
        display: block;
    }

    .footer-line {
        max-width: 728px;
    }

    .header-content__icon {
        padding-right: 13px;
    }


}